﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Smallnet.Web.UserControls
{
    public partial class ucTextEditor : System.Web.UI.UserControl
    {
        // Properties
        public Unit EdtWidth
        {
            get
            {
                return txtTextArea.Width;
            }
            set
            {
                txtTextArea.Width = value;
            }
        }

        public Unit EditHeight
        {
            get
            {
                return txtTextArea.Height;
            }
            set
            {
                txtTextArea.Height = value;
            }
        }

        public string TextValue
        {
            get
            {
                return txtTextArea.Text;
            }
            set 
            {
                txtTextArea.Text = value;
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}